use axum::{Router, routing};
use std::sync::Arc;

use crate::AppService;
use crate::handlers::file::{index, upload};

pub fn get_routes() -> Router<Arc<AppService>> {
    Router::new()
        .route("/", routing::get(index))
        .route("/upload", routing::post(upload))
}
